package com.example.pages;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

public class LoginPage extends AnyPage {

	@FindBy (id="username")
	public WebElement loginField;
	
	@FindBy (name="password")
	public WebElement passwordField;
	
	@FindBy (name="submit")
	public WebElement submitButton;
	
	@FindBy (id="loginform")
	public WebElement loginForm;
	
	public boolean checkThisPage() {
		return loginForm.isDisplayed();
	}
	
}
